import Vue from 'vue'
import App from './App'

import myCharts from './utils/chart.js'
import req from'./api/req'
import toast from'./components/toast.js'
import mgToGb from'./components/MbToGB.js'
import getPageKey from'./utils/getPageKey.js'
Vue.config.productionTip = false
import screenTextScroll from './components/screenTextScroll.vue'
import orgInputText from './components/org-input-text/org-input-text'

import VueClipboard from './components/vue-clipboard2/vue-clipboard2'
import ba from 'vue-ba'
import './common/iconfont.css'

Vue.use(VueClipboard)
Vue.component('textscroll',screenTextScroll)
Vue.component('orgInputText',orgInputText)
App.mpType = 'app'

Vue.use(myCharts)
Vue.use(req)
Vue.use(toast)
Vue.use(mgToGb)
Vue.use(getPageKey)
Vue.use(ba, "b83697e0b0fc45bebe27bfa66f844a71");
Vue.use(ba, { siteId: "b83697e0b0fc45bebe27bfa66f844a71" });
Vue.config.ignoredElements = [
    'wx-open-launch-weapp',
]

const app = new Vue({
    ...App
})
app.$mount()
